package balmysundaycandy.morelowlevel.sample.controller.others;

import org.slim3.controller.Controller;
import org.slim3.controller.Navigation;

import balmysundaycandy.more.low.level.logger.ProtocolBufferLogDelegate;
import balmysundaycandy.more.low.level.logger.impl.SimpleLogger;
import balmysundaycandy.morelowlevel.sample.controller.PathElement;

import com.google.apphosting.api.ApiProxy;

public class XmppController extends Controller {

	@Override
	protected Navigation run() {
		ApiProxy.setDelegate(new ProtocolBufferLogDelegate(new SimpleLogger()));
		return forward(PathElement.JSP_PATH + "/index.jsp");
	}

}
